package pl.devfest.intro;

import pl.devfest.GeneralActivity;
import pl.devfest.R;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class SplashScreenActivity extends GeneralActivity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	setContentView(R.layout.splashscreen);

	Button button = (Button) findViewById(R.id.enter);
	button.setOnClickListener(new OnClickListener() {

	    @Override
	    public void onClick(View v) {
		Intent intent = new Intent(getApplicationContext(),
			pl.devfest.MainActivity.class);
		startActivity(intent);
		finish();
	    }
	});
    }
}